/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package transervfx.Dato.DAO;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author oscar
 */
public interface Dao<C, T> {

  void persist(C entity);
  
  void remove(C entity);
  
  void update(C entity);

  C findById(T id);

  List<C> findAll();

}